package com.yanqu.road.logic.bussiness.player;

import com.yanqu.road.entity.activity.treasure.UserTreasureActivityData;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.List;
import java.util.Map;

public class UserTreasureBussiness {

    public static Map<Integer, UserTreasureActivityData> getUserActivityDataMap(long userId, List<Integer> activityIdList) {
        return DaoHelper.getUserTreasureActivityDataDaoImpl().getUserActivityDataMap(userId, activityIdList);
    }
    public static boolean addUserTreasureActivityData(UserTreasureActivityData userTreasureActivityData) {
        return DaoHelper.getUserTreasureActivityDataDaoImpl().add(userTreasureActivityData);
    }

    public static boolean updateUserTreasureActivityData(UserTreasureActivityData userTreasureActivityData) {
        return DaoHelper.getUserTreasureActivityDataDaoImpl().update(userTreasureActivityData);
    }
}
